package com.itheima.test;

import java.util.ArrayList;

public class ClaasManager {
    private ArrayList<Student>students=new ArrayList<>();

    private StudentService s=new StudentTest1();

    public ClaasManager() {
        students.add(new Student("迪丽热巴", '女', 99));
        students.add(new Student("古力娜扎", '女', 100));
        students.add(new Student("马尔扎哈", '男', 80));
        students.add(new Student("卡尔扎巴", '男', 60));
    }
    public void printInfo(){
        s.printAllInfo(students);
    }

}
